using MediatR;
using Work.Domain;
using Work.ErrorCode;

namespace Work.API.Applications.Read.Commands
{
    /// <summary>
    /// 按卡号获取就诊人
    /// </summary>
    public class GetPatientByCardQuery : IRequest<ApiResult<Patient?>>
    {
        public string CardNumber { get; set; } = string.Empty;
    }
}











